//
//  WHRNetwork.h
//  AnXin100
//
//  Created by 天质弘耕 on 2018/11/28.
//  Copyright © 2018 tzhg. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "MBProgressHUD.h"

NS_ASSUME_NONNULL_BEGIN

@interface WHRNetwork : NSObject


/** 显示网络错误， 1秒后自动消失 */
+ (MBProgressHUD *)showNetworkErrorHudAtView:(UIView *)view;

/** 显示信息，isTextOnly为YES时会自动消失 */
+ (MBProgressHUD *)showHudAtView:(UIView *)view message:(NSString *)msg isTextOnly:(BOOL)isTextOnly;


@end

NS_ASSUME_NONNULL_END
